#include <iostream>

int main()
{
    int data = 12345;
    int src_key = 56783;
    //用key进行加密
    int a = data ^ src_key;
    std::cout << a << std::endl;
    //用key进行解密
    std::cout << (a ^ src_key) << std::endl;

}
